package shop.ynubeggar.service;

import com.baomidou.mybatisplus.extension.service.IService;
import shop.ynubeggar.model.dataobject.BannerDO;
import shop.ynubeggar.request.CreateBannerRequest;

public interface AdminBannerService extends IService<BannerDO> {
    void createBanner(CreateBannerRequest createBannerRequest);

    void deleteBanner(long id);

    Object findOne(long bannerId);

    Object findPage(int page, int size);
}
